//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package commands;

import common.ByteStream;

public abstract class LogicCommand {
    private int ticksWhenTouch = 0;

    public LogicCommand(int ticks) {
        this.ticksWhenTouch = ticks;
    }

    public void setTicksWhenTouch(int ticks) {
        this.ticksWhenTouch = ticks;
    }

    public Integer ticksWhenTouch() {
        return Integer.valueOf(this.ticksWhenTouch);
    }

    public abstract int getCommandId();

    public abstract void encode(ByteStream var1);
}
